#ifndef _AnimChangeOverTime_h_included_
#define _AnimChangeOverTime_h_included_
#include <d3dx9.h>
#include <d3d9.h>
#include <string>
#include "Model.h"
#include "Animation.h"

//This class is responsible for maintaining the state
//of a model
class AnimChangeOverTime: public Animation
{
	float mXAmount;
	float* mVal;

public:
	AnimChangeOverTime();
	AnimChangeOverTime(float* pModel, float pXAmount);

	float GetXAmount();
	void SetXAmount(float pXAmount);

	virtual void Update(LPDIRECT3DDEVICE9 d3ddev, double pElapsedTime, double pTotalTime) const;
	virtual void Release() const;
};
#endif
